import type { songType } from "@/types/pageTypes/songs.ts";
class songClass implements songType {
  id: number;
  name: string;
  introduction?: string;
  pic?: string;
  mv?: string;
  singerId?: number;
  state?: string;
  up?: number;
  updateTime?: string;
  url?: string;
  lyric?: string;
  vip?: string;

  constructor(
    id: number,
    name: string,
    introduction?: string,
    pic?: string,
    mv?: string,
    singerId?: number,
    state?: string,
    up?: number,
    updateTime?: string,
    url?: string,
    lyric?: string,
    vip?: string
  ) {
    this.id = id;
    this.name = name;
    this.introduction = introduction;
    this.pic = pic;
    this.mv = mv;
    this.singerId = singerId;
    this.state = state;
    this.up = up;
    this.updateTime = updateTime;
    this.url = url;
    this.lyric = lyric;
    this.vip = vip;
  }
}
export { songClass };
